<?php /* Smarty version Smarty-3.0.8, created on 2011-11-26 06:00:24
         compiled from "./templates\_recommend_content.tpl" */ ?>
<?php /*%%SmartyHeaderCode:6794ed08078381a92-10260128%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e55d2bcea88522644903b616086a3225ab937045' => 
    array (
      0 => './templates\\_recommend_content.tpl',
      1 => 1322287172,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6794ed08078381a92-10260128',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include './common/libs/plugins\modifier.truncate.php';
?><div id="content">
    <?php  $_smarty_tpl->tpl_vars['goldfirm'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('groupFirm')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['goldfirm']->key => $_smarty_tpl->tpl_vars['goldfirm']->value){
?>                 
    <?php $_smarty_tpl->tpl_vars['oneGroupBottom'] = new Smarty_variable($_smarty_tpl->tpl_vars['goldfirm']->value, null, null);?>          
    <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('oneGroupBottom')->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['name'] = 'oneGroup';
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'] = ((int)1) == 0 ? 1 : (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'] = (int)0;
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['max'] = (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['show'] = (bool)true;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['max'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop'];
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['oneGroup']['total']);
?>
    <div id="oneGroup"> <!--一组推荐-->          
        <div style="width:4px;height:20px;float:left;"></div> <!-- 左右占空 -->
            <div id="groupTitle"><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupTitle'])===null||$tmp==='' ? '创业类企业' : $tmp),14,'..');?>
</div>                
        <div id="groupContent"> 
        <?php $_smarty_tpl->tpl_vars['nums'] = new Smarty_variable(count($_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData']), null, null);?> <!-- 计算推荐个数-->
        <?php if ($_smarty_tpl->getVariable('nums')->value>6){?>   <!--  判断是否大于6 -->
        <?php $_smarty_tpl->tpl_vars['nums'] = new Smarty_variable('6', null, null);?>
        <?php }?>
        <?php unset($_smarty_tpl->tpl_vars['smarty']->value['section']['data']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop'] = is_array($_loop=$_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['name'] = 'data';
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['max'] = (int)$_smarty_tpl->getVariable('nums')->value;
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'] = (int)0;
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'] = ((int)1) == 0 ? 1 : (int)1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['show'] = true;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['max'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop'];
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'] < 0)
    $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'] = max($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'] > 0 ? 0 : -1, $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start']);
else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'] = min($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop']-1);
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['total'] = min(ceil(($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'] > 0 ? $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['loop'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'] : $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start']+1)/abs($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'])), $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['max']);
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['data']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['data']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['data']['total']);
?>
            <div style="width:4px;height:20px;float:left;"></div> <!-- 左右占空 -->
            <div id="element">
                <div id="groupLogo" style="text-align:center;background: url(<?php echo (($tmp = @$_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData'][$_smarty_tpl->getVariable('smarty')->value['section']['data']['index']]['logoName'])===null||$tmp==='' ? './templates/images/logo_google.png' : $tmp);?>
);background-position: center center;background-repeat: no-repeat;"><a href="<?php echo $_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData'][$_smarty_tpl->getVariable('smarty')->value['section']['data']['index']]['linkAddress'];?>
"></a></div>
                <div id="groupText"><a href="<?php echo $_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData'][$_smarty_tpl->getVariable('smarty')->value['section']['data']['index']]['linkAddress'];?>
"><span><?php echo smarty_modifier_truncate((($tmp = @$_smarty_tpl->getVariable('oneGroupBottom')->value[$_smarty_tpl->getVariable('smarty')->value['section']['oneGroup']['index']]['groupData'][$_smarty_tpl->getVariable('smarty')->value['section']['data']['index']]['firmName'])===null||$tmp==='' ? 'Google' : $tmp),14,'..');?>
</span></a></div>                      
            </div> 
        <?php endfor; endif; ?>
        </div>
    </div>
    <div id="clear"></div>
    <div style="width:4px;height:20px;"></div> <!-- 上下占空 -->
    <?php endfor; endif; ?>          
    <?php }} ?>
</div>